import request from "@/utils/request";


export function getCategoryTree(){
  return request({
    url: '/goods/categoryTree',
    method: 'get',
  })
}

export function listGoods(query){
  return request({
    url: '/goods/list',
    method: 'get',
    params: query
  })
}
